package com.yun.zf.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yun.zf.common.admin.domain.SysDocuments;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 文案信息表 服务类
 * </p>
 *
 * @author cj
 * @since 2021-06-16
 */
public interface SysDocumentsService extends IService<SysDocuments> {

    @Cacheable(value = "getOpenCity",key = "#themeid+'_'+#platformId")
    public Map<String , List<SysDocuments>> getDocumentsByTheme(String themeid,int platformId);
}
